<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=11"/>
<meta name="generator" content="Doxygen 1.9.3"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>SSDP Help: NamedGroup</title>
<link href="../../tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="../../jquery.js"></script>
<script type="text/javascript" src="../../dynsections.js"></script>
<link href="../../doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr id="projectrow">
  <td id="projectalign">
   <div id="projectname">SSDP Help<span id="projectnumber">&#160;2.04.01</span>
   </div>
   <div id="projectbrief">仅供测试</div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- 制作者 Doxygen 1.9.3 -->
<script type="text/javascript" src="../../menudata.js"></script>
<script type="text/javascript" src="../../menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
$(function() {
  initMenu('../../',false,false,'search.php','搜索');
});
/* @license-end */
</script>
<div id="main-nav"></div>
</div><!-- top -->
<div class="header">
  <div class="summary">
<a href="#pub-methods">Public 成员函数</a> &#124;
<a href="#pub-static-methods">静态 Public 成员函数</a> &#124;
<a href="../../d1/dce/struct_named_group-members.html">所有成员列表</a>  </div>
  <div class="headertitle"><div class="title">NamedGroup</div></div>
</div><!--header-->
<div class="contents">

<p>命名组  
 <a href="../../d7/d7f/struct_named_group.html#details">更多...</a></p>

<p><code>#include &lt;<a class="el" href="../../dc/dcb/_a_t_group_8h_source.html">ATGroup.h</a>&gt;</code></p>

<p>继承自 RefCountedBase .</p>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="pub-methods" name="pub-methods"></a>
Public 成员函数</h2></td></tr>
<tr class="memitem:a0d6b80ac7178dec84441644c845fd2a3"><td class="memItemLeft" align="right" valign="top"><a id="a0d6b80ac7178dec84441644c845fd2a3" name="a0d6b80ac7178dec84441644c845fd2a3"></a>
ATDATACORE_EXPORT NamedGroupStatus&#160;</td><td class="memItemRight" valign="bottom"><b>AddMember</b> (NamedGroupMemberP member, bool newMember)</td></tr>
<tr class="separator:a0d6b80ac7178dec84441644c845fd2a3"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a8d7c56216eb6909b6151551027dd97ea"><td class="memItemLeft" align="right" valign="top">ATDATACORE_EXPORT ATSceneRefP&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d7/d7f/struct_named_group.html#a8d7c56216eb6909b6151551027dd97ea">GetRootSceneRef</a> () const</td></tr>
<tr class="memdesc:a8d7c56216eb6909b6151551027dd97ea"><td class="mdescLeft">&#160;</td><td class="mdescRight">获取命名组所属的场景  <a href="../../d7/d7f/struct_named_group.html#a8d7c56216eb6909b6151551027dd97ea">更多...</a><br /></td></tr>
<tr class="separator:a8d7c56216eb6909b6151551027dd97ea"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad3c032d50dbe626a985d21d3fd90c907"><td class="memItemLeft" align="right" valign="top">ATDATACORE_EXPORT NamedGroupMemberP&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d7/d7f/struct_named_group.html#ad3c032d50dbe626a985d21d3fd90c907">GetMember</a> (UInt32 index) const</td></tr>
<tr class="memdesc:ad3c032d50dbe626a985d21d3fd90c907"><td class="mdescLeft">&#160;</td><td class="mdescRight">根据索引获取命名组成员  <a href="../../d7/d7f/struct_named_group.html#ad3c032d50dbe626a985d21d3fd90c907">更多...</a><br /></td></tr>
<tr class="separator:ad3c032d50dbe626a985d21d3fd90c907"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aacf2fcbe471ff069b5cbe428cc046558"><td class="memItemLeft" align="right" valign="top">ATDATACORE_EXPORT ObjectRefP&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d7/d7f/struct_named_group.html#aacf2fcbe471ff069b5cbe428cc046558">GetAtObject</a> () const</td></tr>
<tr class="memdesc:aacf2fcbe471ff069b5cbe428cc046558"><td class="mdescLeft">&#160;</td><td class="mdescRight">获取持久化该命名组的元素引用  <a href="../../d7/d7f/struct_named_group.html#aacf2fcbe471ff069b5cbe428cc046558">更多...</a><br /></td></tr>
<tr class="separator:aacf2fcbe471ff069b5cbe428cc046558"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a6568f94a7b72963d4cef8c6c92bb4552"><td class="memItemLeft" align="right" valign="top">ATDATACORE_EXPORT void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d7/d7f/struct_named_group.html#a6568f94a7b72963d4cef8c6c92bb4552">GetMemberCount</a> (UInt32 *graphicMembers, UInt32 *groupMembers) const</td></tr>
<tr class="memdesc:a6568f94a7b72963d4cef8c6c92bb4552"><td class="mdescLeft">&#160;</td><td class="mdescRight">获取成员数量  <a href="../../d7/d7f/struct_named_group.html#a6568f94a7b72963d4cef8c6c92bb4552">更多...</a><br /></td></tr>
<tr class="separator:a6568f94a7b72963d4cef8c6c92bb4552"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a761c4f306276a60c0497fe6ced9a2144"><td class="memItemLeft" align="right" valign="top">ATDATACORE_EXPORT NamedGroupStatus&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d7/d7f/struct_named_group.html#a761c4f306276a60c0497fe6ced9a2144">RemoveAllMembers</a> ()</td></tr>
<tr class="memdesc:a761c4f306276a60c0497fe6ced9a2144"><td class="mdescLeft">&#160;</td><td class="mdescRight">移除所有成员  <a href="../../d7/d7f/struct_named_group.html#a761c4f306276a60c0497fe6ced9a2144">更多...</a><br /></td></tr>
<tr class="separator:a761c4f306276a60c0497fe6ced9a2144"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a4118832e24c6995a20dddd345da561ad"><td class="memItemLeft" align="right" valign="top">ATDATACORE_EXPORT WStringCR&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d7/d7f/struct_named_group.html#a4118832e24c6995a20dddd345da561ad">GetName</a> () const</td></tr>
<tr class="memdesc:a4118832e24c6995a20dddd345da561ad"><td class="mdescLeft">&#160;</td><td class="mdescRight">获取名称  <a href="../../d7/d7f/struct_named_group.html#a4118832e24c6995a20dddd345da561ad">更多...</a><br /></td></tr>
<tr class="separator:a4118832e24c6995a20dddd345da561ad"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a1b3e720eba783735559350d5d683ac8e"><td class="memItemLeft" align="right" valign="top">ATDATACORE_EXPORT NamedGroupStatus&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d7/d7f/struct_named_group.html#a1b3e720eba783735559350d5d683ac8e">WriteToFile</a> (bool overwriteExisting)</td></tr>
<tr class="memdesc:a1b3e720eba783735559350d5d683ac8e"><td class="mdescLeft">&#160;</td><td class="mdescRight">写入到项目中  <a href="../../d7/d7f/struct_named_group.html#a1b3e720eba783735559350d5d683ac8e">更多...</a><br /></td></tr>
<tr class="separator:a1b3e720eba783735559350d5d683ac8e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a43308fff19275499d559a52add6d57c6"><td class="memItemLeft" align="right" valign="top">ATDATACORE_EXPORT NamedGroupStatus&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d7/d7f/struct_named_group.html#a43308fff19275499d559a52add6d57c6">DeleteFromFile</a> ()</td></tr>
<tr class="memdesc:a43308fff19275499d559a52add6d57c6"><td class="mdescLeft">&#160;</td><td class="mdescRight">从工程中删除该命名组  <a href="../../d7/d7f/struct_named_group.html#a43308fff19275499d559a52add6d57c6">更多...</a><br /></td></tr>
<tr class="separator:a43308fff19275499d559a52add6d57c6"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a0e084936b395d32e5d9558f65f9b3f7d"><td class="memItemLeft" align="right" valign="top"><a id="a0e084936b395d32e5d9558f65f9b3f7d" name="a0e084936b395d32e5d9558f65f9b3f7d"></a>
ATDATACORE_EXPORT bool&#160;</td><td class="memItemRight" valign="bottom"><b>IsMemberOf</b> (ObjectRefP objectRef, ATSceneRefP SceneRef) const</td></tr>
<tr class="separator:a0e084936b395d32e5d9558f65f9b3f7d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a05abdfe5043166a53be99fc5913c1867"><td class="memItemLeft" align="right" valign="top">ATDATACORE_EXPORT NamedGroupStatus&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d7/d7f/struct_named_group.html#a05abdfe5043166a53be99fc5913c1867">AddMember</a> (ObjectId objectID, ATSceneRefP SceneRef, NamedGroupMemberFlagsCR memberFlags)</td></tr>
<tr class="memdesc:a05abdfe5043166a53be99fc5913c1867"><td class="mdescLeft">&#160;</td><td class="mdescRight">向命名组添加成员  <a href="../../d7/d7f/struct_named_group.html#a05abdfe5043166a53be99fc5913c1867">更多...</a><br /></td></tr>
<tr class="separator:a05abdfe5043166a53be99fc5913c1867"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab501bd6343b54e0d08cf13739bd0b320"><td class="memItemLeft" align="right" valign="top"><a id="ab501bd6343b54e0d08cf13739bd0b320" name="ab501bd6343b54e0d08cf13739bd0b320"></a>
ATDATACORE_EXPORT bool&#160;</td><td class="memItemRight" valign="bottom"><b>IsMemberOf</b> (MemberKey key) const</td></tr>
<tr class="separator:ab501bd6343b54e0d08cf13739bd0b320"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa045546509d9247ae462b7bda0a34c79"><td class="memItemLeft" align="right" valign="top">ATDATACORE_EXPORT NamedGroupMemberP&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d7/d7f/struct_named_group.html#aa045546509d9247ae462b7bda0a34c79">FindMemberByObjectRef</a> (UInt32 *index, ObjectRefP objectRef, ATSceneRefP SceneRef) const</td></tr>
<tr class="memdesc:aa045546509d9247ae462b7bda0a34c79"><td class="mdescLeft">&#160;</td><td class="mdescRight">从元素引用查找命名组成员  <a href="../../d7/d7f/struct_named_group.html#aa045546509d9247ae462b7bda0a34c79">更多...</a><br /></td></tr>
<tr class="separator:aa045546509d9247ae462b7bda0a34c79"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac798bf4c08e7865b0ecc453c6577364b"><td class="memItemLeft" align="right" valign="top">ATDATACORE_EXPORT NamedGroupStatus&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d7/d7f/struct_named_group.html#ac798bf4c08e7865b0ecc453c6577364b">RemoveMember</a> (UInt32 index)</td></tr>
<tr class="memdesc:ac798bf4c08e7865b0ecc453c6577364b"><td class="mdescLeft">&#160;</td><td class="mdescRight">删除指定的成员  <a href="../../d7/d7f/struct_named_group.html#ac798bf4c08e7865b0ecc453c6577364b">更多...</a><br /></td></tr>
<tr class="separator:ac798bf4c08e7865b0ecc453c6577364b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac7974cf260a59069e133486a3a59bd50"><td class="memItemLeft" align="right" valign="top">ATDATACORE_EXPORT NamedGroupFlagsCR&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d7/d7f/struct_named_group.html#ac7974cf260a59069e133486a3a59bd50">GetFlags</a> () const</td></tr>
<tr class="memdesc:ac7974cf260a59069e133486a3a59bd50"><td class="mdescLeft">&#160;</td><td class="mdescRight">获取命名组标识  <a href="../../d7/d7f/struct_named_group.html#ac7974cf260a59069e133486a3a59bd50">更多...</a><br /></td></tr>
<tr class="separator:ac7974cf260a59069e133486a3a59bd50"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ae017b0ed6d115808b524bba832bd2c2c"><td class="memItemLeft" align="right" valign="top">ATDATACORE_EXPORT void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d7/d7f/struct_named_group.html#ae017b0ed6d115808b524bba832bd2c2c">SetFlags</a> (NamedGroupFlagsCR flags)</td></tr>
<tr class="memdesc:ae017b0ed6d115808b524bba832bd2c2c"><td class="mdescLeft">&#160;</td><td class="mdescRight">设置命名组标识  <a href="../../d7/d7f/struct_named_group.html#ae017b0ed6d115808b524bba832bd2c2c">更多...</a><br /></td></tr>
<tr class="separator:ae017b0ed6d115808b524bba832bd2c2c"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="pub-static-methods" name="pub-static-methods"></a>
静态 Public 成员函数</h2></td></tr>
<tr class="memitem:a52ae3700146d265471459f50f7a31986"><td class="memItemLeft" align="right" valign="top">static ATDATACORE_EXPORT NamedGroupStatus&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d7/d7f/struct_named_group.html#a52ae3700146d265471459f50f7a31986">Create</a> (NamedGroupPtr &amp;createdNamedGroup, HATObjectCR source, ATSceneRefP rootSceneRef)</td></tr>
<tr class="memdesc:a52ae3700146d265471459f50f7a31986"><td class="mdescLeft">&#160;</td><td class="mdescRight">从持有命名组的元素创建一个新的命名组实例  <a href="../../d7/d7f/struct_named_group.html#a52ae3700146d265471459f50f7a31986">更多...</a><br /></td></tr>
<tr class="separator:a52ae3700146d265471459f50f7a31986"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a8b1e0af2da2b5d850d9c4242bd6d96bf"><td class="memItemLeft" align="right" valign="top">static ATDATACORE_EXPORT NamedGroupStatus&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d7/d7f/struct_named_group.html#a8b1e0af2da2b5d850d9c4242bd6d96bf">Create</a> (NamedGroupPtr &amp;createdNamedGroup, WCharCP name, WCharCP description, NamedGroupFlags flags, ATSceneRefP rootSceneRef)</td></tr>
<tr class="memdesc:a8b1e0af2da2b5d850d9c4242bd6d96bf"><td class="mdescLeft">&#160;</td><td class="mdescRight">创建命名组实例  <a href="../../d7/d7f/struct_named_group.html#a8b1e0af2da2b5d850d9c4242bd6d96bf">更多...</a><br /></td></tr>
<tr class="separator:a8b1e0af2da2b5d850d9c4242bd6d96bf"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">详细描述</h2>
<div class="textblock"><p >命名组 </p>
<dl class="section author"><dt>作者</dt><dd>SZEWEC </dd></dl>
<dl class="section since"><dt>自从</dt><dd>2022/04/28 </dd></dl>
</div><h2 class="groupheader">成员函数说明</h2>
<a id="a05abdfe5043166a53be99fc5913c1867" name="a05abdfe5043166a53be99fc5913c1867"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a05abdfe5043166a53be99fc5913c1867">&#9670;&nbsp;</a></span>AddMember()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">ATDATACORE_EXPORT NamedGroupStatus NamedGroup::AddMember </td>
          <td>(</td>
          <td class="paramtype">ObjectId&#160;</td>
          <td class="paramname"><em>objectID</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">ATSceneRefP&#160;</td>
          <td class="paramname"><em>SceneRef</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">NamedGroupMemberFlagsCR&#160;</td>
          <td class="paramname"><em>memberFlags</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>向命名组添加成员 </p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">ObjectId</td><td>objectID 成员元素的ID </td></tr>
    <tr><td class="paramname">ATSceneRefP</td><td>SceneRef 成员元素引用 </td></tr>
    <tr><td class="paramname">NamedGroupMemberFlagsCR</td><td>memberFlags 应用到该成员的标记 </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>返回</dt><dd>ATDATACORE_EXPORT NamedGroupStatus 成功时返回NG_Success</dd></dl>
<dl class="section author"><dt>作者</dt><dd>SZEWEC </dd></dl>
<dl class="section since"><dt>自从</dt><dd>2022/04/11 </dd></dl>

</div>
</div>
<a id="a52ae3700146d265471459f50f7a31986" name="a52ae3700146d265471459f50f7a31986"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a52ae3700146d265471459f50f7a31986">&#9670;&nbsp;</a></span>Create() <span class="overload">[1/2]</span></h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">static ATDATACORE_EXPORT NamedGroupStatus NamedGroup::Create </td>
          <td>(</td>
          <td class="paramtype">NamedGroupPtr &amp;&#160;</td>
          <td class="paramname"><em>createdNamedGroup</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">HATObjectCR&#160;</td>
          <td class="paramname"><em>source</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">ATSceneRefP&#160;</td>
          <td class="paramname"><em>rootSceneRef</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>从持有命名组的元素创建一个新的命名组实例 </p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">NamedGroupPtr</td><td>&amp; createdNamedGroup 实例化的命名组 </td></tr>
    <tr><td class="paramname">HATObjectCR</td><td>source 持久化命名组元素 </td></tr>
    <tr><td class="paramname">ATSceneRefP</td><td>rootSceneRef 包含该命名组元素的场景 </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>返回</dt><dd>ATDATACORE_EXPORT NamedGroupStatus</dd></dl>
<dl class="section author"><dt>作者</dt><dd>SZEWEC </dd></dl>
<dl class="section since"><dt>自从</dt><dd>2022/04/11 </dd></dl>

</div>
</div>
<a id="a8b1e0af2da2b5d850d9c4242bd6d96bf" name="a8b1e0af2da2b5d850d9c4242bd6d96bf"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a8b1e0af2da2b5d850d9c4242bd6d96bf">&#9670;&nbsp;</a></span>Create() <span class="overload">[2/2]</span></h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">static ATDATACORE_EXPORT NamedGroupStatus NamedGroup::Create </td>
          <td>(</td>
          <td class="paramtype">NamedGroupPtr &amp;&#160;</td>
          <td class="paramname"><em>createdNamedGroup</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">WCharCP&#160;</td>
          <td class="paramname"><em>name</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">WCharCP&#160;</td>
          <td class="paramname"><em>description</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">NamedGroupFlags&#160;</td>
          <td class="paramname"><em>flags</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">ATSceneRefP&#160;</td>
          <td class="paramname"><em>rootSceneRef</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>创建命名组实例 </p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">NamedGroupPtr</td><td>&amp; createdNamedGroup 实例化的命名组 </td></tr>
    <tr><td class="paramname">WCharCP</td><td>name 名称 </td></tr>
    <tr><td class="paramname">WCharCP</td><td>description 描述 </td></tr>
    <tr><td class="paramname">NamedGroupFlags</td><td>flags 声明命名组的特定行为 </td></tr>
    <tr><td class="paramname">ATSceneRefP</td><td>rootSceneRef 命名组保存到的场景 </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>返回</dt><dd>ATDATACORE_EXPORT NamedGroupStatus</dd></dl>
<dl class="section author"><dt>作者</dt><dd>SZEWEC </dd></dl>
<dl class="section since"><dt>自从</dt><dd>2022/04/11 </dd></dl>

</div>
</div>
<a id="a43308fff19275499d559a52add6d57c6" name="a43308fff19275499d559a52add6d57c6"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a43308fff19275499d559a52add6d57c6">&#9670;&nbsp;</a></span>DeleteFromFile()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">ATDATACORE_EXPORT NamedGroupStatus NamedGroup::DeleteFromFile </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>从工程中删除该命名组 </p>
<dl class="section return"><dt>返回</dt><dd>ATDATACORE_EXPORT NamedGroupStatus</dd></dl>
<dl class="section author"><dt>作者</dt><dd>SZEWEC </dd></dl>
<dl class="section since"><dt>自从</dt><dd>2022/04/11 </dd></dl>

</div>
</div>
<a id="aa045546509d9247ae462b7bda0a34c79" name="aa045546509d9247ae462b7bda0a34c79"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aa045546509d9247ae462b7bda0a34c79">&#9670;&nbsp;</a></span>FindMemberByObjectRef()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">ATDATACORE_EXPORT NamedGroupMemberP NamedGroup::FindMemberByObjectRef </td>
          <td>(</td>
          <td class="paramtype">UInt32 *&#160;</td>
          <td class="paramname"><em>index</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">ObjectRefP&#160;</td>
          <td class="paramname"><em>objectRef</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">ATSceneRefP&#160;</td>
          <td class="paramname"><em>SceneRef</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td> const</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>从元素引用查找命名组成员 </p>
<dl class="section note"><dt>注解</dt><dd>调用者并未持有命名组成员指针，故无需释放该指针</dd></dl>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">UInt32</td><td>* index 成员的索引，不关心时传NULL </td></tr>
    <tr><td class="paramname">ObjectRefP</td><td>objectRef 成员所属的元素引用 </td></tr>
    <tr><td class="paramname">ATSceneRefP</td><td>SceneRef 成员所属的场景 </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>返回</dt><dd>ATDATACORE_EXPORT NamedGroupMemberP 命名组成员或NULL</dd></dl>
<dl class="section author"><dt>作者</dt><dd>SZEWEC </dd></dl>
<dl class="section since"><dt>自从</dt><dd>2022/04/11 </dd></dl>

</div>
</div>
<a id="aacf2fcbe471ff069b5cbe428cc046558" name="aacf2fcbe471ff069b5cbe428cc046558"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aacf2fcbe471ff069b5cbe428cc046558">&#9670;&nbsp;</a></span>GetAtObject()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">ATDATACORE_EXPORT ObjectRefP NamedGroup::GetAtObject </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>获取持久化该命名组的元素引用 </p>
<dl class="section return"><dt>返回</dt><dd>ATDATACORE_EXPORT ObjectRefP</dd></dl>
<dl class="section author"><dt>作者</dt><dd>SZEWEC </dd></dl>
<dl class="section since"><dt>自从</dt><dd>2022/04/11 </dd></dl>

</div>
</div>
<a id="ac7974cf260a59069e133486a3a59bd50" name="ac7974cf260a59069e133486a3a59bd50"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ac7974cf260a59069e133486a3a59bd50">&#9670;&nbsp;</a></span>GetFlags()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">ATDATACORE_EXPORT NamedGroupFlagsCR NamedGroup::GetFlags </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>获取命名组标识 </p>
<dl class="section return"><dt>返回</dt><dd>ATDATACORE_EXPORT NamedGroupFlagsCR</dd></dl>
<dl class="section author"><dt>作者</dt><dd>SZEWEC </dd></dl>
<dl class="section since"><dt>自从</dt><dd>2022/04/15 </dd></dl>

</div>
</div>
<a id="ad3c032d50dbe626a985d21d3fd90c907" name="ad3c032d50dbe626a985d21d3fd90c907"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ad3c032d50dbe626a985d21d3fd90c907">&#9670;&nbsp;</a></span>GetMember()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">ATDATACORE_EXPORT NamedGroupMemberP NamedGroup::GetMember </td>
          <td>(</td>
          <td class="paramtype">UInt32&#160;</td>
          <td class="paramname"><em>index</em></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>根据索引获取命名组成员 </p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">UInt32</td><td>index </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>返回</dt><dd>ATDATACORE_EXPORT NamedGroupMemberP</dd></dl>
<dl class="section author"><dt>作者</dt><dd>SZEWEC </dd></dl>
<dl class="section since"><dt>自从</dt><dd>2022/04/11 </dd></dl>

</div>
</div>
<a id="a6568f94a7b72963d4cef8c6c92bb4552" name="a6568f94a7b72963d4cef8c6c92bb4552"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a6568f94a7b72963d4cef8c6c92bb4552">&#9670;&nbsp;</a></span>GetMemberCount()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">ATDATACORE_EXPORT void NamedGroup::GetMemberCount </td>
          <td>(</td>
          <td class="paramtype">UInt32 *&#160;</td>
          <td class="paramname"><em>graphicMembers</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">UInt32 *&#160;</td>
          <td class="paramname"><em>groupMembers</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td> const</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>获取成员数量 </p>
<dl class="section note"><dt>注解</dt><dd>返回的数量不包括已删除元素或命名组</dd></dl>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">UInt32</td><td>* graphicMembers 图形元素的数量，不需要该值时传NULL </td></tr>
    <tr><td class="paramname">UInt32</td><td>* groupMembers 子命名组的数量，不需要该值时传NULL </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>返回</dt><dd>ATDATACORE_EXPORT void</dd></dl>
<dl class="section author"><dt>作者</dt><dd>SZEWEC </dd></dl>
<dl class="section since"><dt>自从</dt><dd>2022/04/11 </dd></dl>

</div>
</div>
<a id="a4118832e24c6995a20dddd345da561ad" name="a4118832e24c6995a20dddd345da561ad"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a4118832e24c6995a20dddd345da561ad">&#9670;&nbsp;</a></span>GetName()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">ATDATACORE_EXPORT WStringCR NamedGroup::GetName </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>获取名称 </p>
<dl class="section return"><dt>返回</dt><dd>ATDATACORE_EXPORT WStringCR</dd></dl>
<dl class="section author"><dt>作者</dt><dd>SZEWEC </dd></dl>
<dl class="section since"><dt>自从</dt><dd>2022/04/11 </dd></dl>

</div>
</div>
<a id="a8d7c56216eb6909b6151551027dd97ea" name="a8d7c56216eb6909b6151551027dd97ea"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a8d7c56216eb6909b6151551027dd97ea">&#9670;&nbsp;</a></span>GetRootSceneRef()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">ATDATACORE_EXPORT ATSceneRefP NamedGroup::GetRootSceneRef </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>获取命名组所属的场景 </p>
<dl class="section return"><dt>返回</dt><dd>ATDATACORE_EXPORT ATSceneRefP</dd></dl>
<dl class="section author"><dt>作者</dt><dd>SZEWEC </dd></dl>
<dl class="section since"><dt>自从</dt><dd>2022/04/11 </dd></dl>

</div>
</div>
<a id="a761c4f306276a60c0497fe6ced9a2144" name="a761c4f306276a60c0497fe6ced9a2144"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a761c4f306276a60c0497fe6ced9a2144">&#9670;&nbsp;</a></span>RemoveAllMembers()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">ATDATACORE_EXPORT NamedGroupStatus NamedGroup::RemoveAllMembers </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>移除所有成员 </p>
<dl class="section return"><dt>返回</dt><dd>ATDATACORE_EXPORT NamedGroupStatus</dd></dl>
<dl class="section author"><dt>作者</dt><dd>SZEWEC </dd></dl>
<dl class="section since"><dt>自从</dt><dd>2022/04/11 </dd></dl>

</div>
</div>
<a id="ac798bf4c08e7865b0ecc453c6577364b" name="ac798bf4c08e7865b0ecc453c6577364b"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ac798bf4c08e7865b0ecc453c6577364b">&#9670;&nbsp;</a></span>RemoveMember()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">ATDATACORE_EXPORT NamedGroupStatus NamedGroup::RemoveMember </td>
          <td>(</td>
          <td class="paramtype">UInt32&#160;</td>
          <td class="paramname"><em>index</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>删除指定的成员 </p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">UInt32</td><td>index </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>返回</dt><dd>ATDATACORE_EXPORT NamedGroupStatus</dd></dl>
<dl class="section author"><dt>作者</dt><dd>SZEWEC </dd></dl>
<dl class="section since"><dt>自从</dt><dd>2022/04/11 </dd></dl>

</div>
</div>
<a id="ae017b0ed6d115808b524bba832bd2c2c" name="ae017b0ed6d115808b524bba832bd2c2c"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ae017b0ed6d115808b524bba832bd2c2c">&#9670;&nbsp;</a></span>SetFlags()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">ATDATACORE_EXPORT void NamedGroup::SetFlags </td>
          <td>(</td>
          <td class="paramtype">NamedGroupFlagsCR&#160;</td>
          <td class="paramname"><em>flags</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>设置命名组标识 </p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">NamedGroupFlagsCR</td><td>flags 新的命名组标识 </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>返回</dt><dd>ATDATACORE_EXPORT void</dd></dl>
<dl class="section author"><dt>作者</dt><dd>SZEWEC </dd></dl>
<dl class="section since"><dt>自从</dt><dd>2022/04/29 </dd></dl>

</div>
</div>
<a id="a1b3e720eba783735559350d5d683ac8e" name="a1b3e720eba783735559350d5d683ac8e"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a1b3e720eba783735559350d5d683ac8e">&#9670;&nbsp;</a></span>WriteToFile()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">ATDATACORE_EXPORT NamedGroupStatus NamedGroup::WriteToFile </td>
          <td>(</td>
          <td class="paramtype">bool&#160;</td>
          <td class="paramname"><em>overwriteExisting</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>写入到项目中 </p>
<dl class="section note"><dt>注解</dt><dd>当命名组是从命名组集合中返回或者使用::Create接口从持有该命名组的元素创建时，命名组会记住源元素； 如果想拷贝当前命名组中的成员到全新的命名组中，首先使用SetName接口设置新的唯一名称，随后调用该接口并传入false； 如果只是想改变当前命名组的名称，首先使用SetName接口设置新的唯一名称，随后调用该接口并传入true； 当保存一个全新的命名组到工程中时，需传入false</dd></dl>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">bool</td><td>overwriteExisting 是否覆盖已有的命名组 </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>返回</dt><dd>ATDATACORE_EXPORT NamedGroupStatus 成功时返回NG_Success</dd></dl>
<dl class="section author"><dt>作者</dt><dd>SZEWEC </dd></dl>
<dl class="section since"><dt>自从</dt><dd>2022/04/11 </dd></dl>

</div>
</div>
<hr/>该结构体的文档由以下文件生成:<ul>
<li>D:/doxy/PublicAPI/ATDataCore/<a class="el" href="../../dc/dcb/_a_t_group_8h_source.html">ATGroup.h</a></li>
</ul>
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
制作者&#160;<a href="https://www.doxygen.org/index.html"><img class="footer" src="../../doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.9.3
</small></address>
</body>
</html>
